﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ComplexWebSite.Hub
{
    [Microsoft.AspNet.SignalR.Hubs.HubName("chatHub")]
    public class ChatHub : Microsoft.AspNet.SignalR.Hub
    {
        public void broadcastMessage(string message)
        {
            //Dinamik nesne...clientlara yazdırılmaktadır.
            Clients.All.writeMessage(message);
        }
    }
}